package com.usefullc.system.param;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.common.enums.ValidTypeEnum;
import com.usefullc.common.enums.ValidActionEnum;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 定时任务模板参数实体
 * @author: 星空
 * @date: 2022-09-06
 */
@ApiModel
@Data
public class JobTemplateParam extends BaseDomain {

//useful_auto_generate_section_start

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "ID")
    private Long id;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "租户")
    private Long tenantId;

    @UsefulPropertyVerify(minLen=2, required=true, maxLen=50)
    @ApiModelProperty(notes = "名称")
    private String name;

    @UsefulPropertyVerify(min=-2147483648, max=2147483647, required=true)
    @ApiModelProperty(notes = "分类")
    private Integer category;

    @UsefulPropertyVerify(minLen=2, required=true, maxLen=100)
    @ApiModelProperty(notes = "时间表达式")
    private String cron;

    @UsefulPropertyVerify(min=-2147483648, max=2147483647)
    @ApiModelProperty(notes = "时间周期")
    private Integer period;

    @UsefulPropertyVerify(min=-2147483648, max=2147483647)
    @ApiModelProperty(notes = "运行状态")
    private Integer status;

    @UsefulPropertyVerify(min=-2147483648, max=2147483647)
    @ApiModelProperty(notes = "是否可用")
    private Integer enabled;

    @UsefulPropertyVerify(minLen=2, maxLen=3000)
    @ApiModelProperty(notes = "参数")
    private String param;

    @UsefulPropertyVerify(minLen=2, maxLen=1000)
    @ApiModelProperty(notes = "描述")
    private String description;


//useful_auto_generate_section_end

}
